export interface ResponseData<T>{
    code: string,
    message: string,
    data: T
}

export interface User {
    userId: number,
    username: string,
    password: string,
}

export interface SendMessage {
    toName: string,
    message: string
}

export interface ChatMessage {
    fromName?: string,
    toName: string,
    message: string,
}